﻿using System;

namespace ImageConverter.Utils.Bitmap
{
    public class SizeBoundary
    {
        public int MinWidth { get; private set; }
        public int MinHeight { get; private set; }

        public SizeBoundary(int minWidth, int minHeight)
        {
            if (minWidth <= 0 || minHeight <= 0)
                throw new ArgumentException("Illegal minimum or maximum. Must be positive");


            MinWidth = minWidth;
            MinHeight = minHeight;
        }
    }
}
